package com.xyoto.takeawayUser.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Administrator
 */
@Data
@ApiModel("存储到redis中的用户信息")
public class UserCache {

    @ApiModelProperty("用户自增id")
    private Integer id;

    @ApiModelProperty("用户openid")
    private String openid;

    @ApiModelProperty("用户手机号")
    private String phone;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户真实名称")
    private String name;

    @ApiModelProperty("用户头像")
    private String path;

}
